<template>
	<view class="content">
		<view class="padding ">
			<view class="neirong">
				<view class="flexbetween padding ffffff border">
					<view class="text_x color_ling">店铺名称</view>
					<input class="inputs textright" type="text" placeholder-class="font-size: 30rpx; color: #999999;" placeholder="请输入店铺名称" v-model="shop_name">
				</view>
				<view class="flexbetween padding ffffff border margin_top">
					<view class="text_x color_ling">店铺地址</view>
					<view class="flexbetween xiahuaxian">
						<uni-data-picker @change="bindPickerChange" :localdata="items" placeholder="请选择地区"
							popup-title="请选择地区" v-model="area" class="zdy">
							<text class="inputs1" v-if="!area.length" style="color: #888; width: 100%;">请选择地区</text>
							<text class="inputs1" style=" width: 100%;"
								v-else>{{ area[0] }}/{{ area[1] }}/{{ area[2] }}</text>
						</uni-data-picker>
						<view class="grey_icon margin_left1"></view>
					</view>
				</view>
				<view class="flexbetween padding ffffff border margin_top">
					<view class="text_x color_ling">详细地址</view>
					<input class="inputs textright" placeholder-class="font-size: 30rpx; color: #999999;" type="text" placeholder="请输入详细地址" v-model="addressdetail">
				</view>
				<view class="flexbetween padding ffffff border margin_top">
					<view class="text_x color_ling">负责人姓名</view>
					<input class="inputs textright" placeholder-class="font-size: 30rpx; color: #999999;" type="text" placeholder="请输入负责人姓名" v-model="fr_name">
				</view>
				<view class="flexbetween padding ffffff border margin_top">
					<view class="text_x color_ling">负责人电话</view>
					<input class="inputs textright" placeholder-class="font-size: 30rpx; color: #999999;" type="number" placeholder="请输入负责人电话" v-model="fr_mobile">
				</view>
				<view class="margin_top padding ffffff" style="overflow:hidden;">
					<view class="text_x color_ling">店铺介绍</view>
					<view class="" style="margin-top: 27rpx;">
						<textarea name="" id="" cols="30"  rows="10" placeholder="请输入店铺简介"></textarea>
					</view> 	
				</view>
				<!-- 营业照 -->
				<view class="yyz margin_top" @click="uploadImg(1)">
					<!-- <image v-if="!yyzz_image" src="/static/image/my/yingyzz.png" mode=""></image> -->
					<image v-if="yyzz_image" :src="yyzz_image" mode=""></image>
				</view>
				<!-- 身份证 -->
				<view class="flexbetween margin_top">
					<view class="shefz" @click="uploadImg(2)">
						<image v-if="!fr_zimage" src="/static/image/my/sfz_zm.png" mode=""></image>
						<image v-if="fr_zimage" :src="fr_zimage" mode=""></image>
					</view>
					<view class="shefz" @click="uploadImg(3)">
						<image v-if="!fr_fimage" src="/static/image/my/sfz_fm.png" mode=""></image>
						<image v-if="fr_fimage" :src="fr_fimage" mode=""></image>
					</view>
				</view>
			</view>
			<!-- 固定底部 -->
			<view class="gudingdb ffffff" @click="submit">
				<view class="bigbtn">提交审核</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				 
			}
		},
	 
		methods: {
			 submit(){
				 uni.navigateTo({
				 	url:"/pages_my/shenhe"
				 })
			 }
		}
	}
</script>

<style lang="scss" scoped>
	
	.shanchu {
		width: 13rpx;
		height: 13rpx;
		background-size: 100% 100%;
		//background-image: url('../static/image/my/shanchu.png');
	}
	
	.shilitu {
		position: relative;
	}
	.shanchubox {
		position: absolute;
		top: 30rpx;
		right: 10rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 39rpx;
		height: 23rpx;
		background: #D0D0D0;
		border-radius: 0px 7rpx 0px 7rpx;
	}
	
	.shangchuan {
		width: 193rpx;
		height: 193rpx;
		background-size: 100% 100%;
		margin-right: 10rpx;
	}

	.neirong {
		padding-bottom: 200rpx;
	}

	.shefz {
		width: 48%;
		height: 291rpx;

		image {
			width: 100%;
			height: 100%;
		}
	}

	.yyz {
		width: 100%;
		height: 291rpx;

		image {
			width: 100%;
			height: 100%;
		}
	}


	.inputs {
		width: 60%;
		font-size: 28rpx;
		font-family: PingFang SC-Medium, PingFang SC;
		font-weight: 500;
		text-align: right;
	}

	.zdy {
		font-size: 30rpx;
		width: 100%;
	}

	/deep/.selected-item-active {
		border-bottom: 2px solid #ffc059;
	}
</style>